# $Id$
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Timm Preetz <timm@preetz.us>

pkgname=vala
pkgver=0.12.1
pkgrel=1
pkgdesc="Compiler for the GObject type system"
arch=('ppc')
url="http://live.gnome.org/Vala"
license=('LGPL')
depends=('glib2')
makedepends=('libxslt')
options=('!libtool')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.12/${pkgname}-${pkgver}.tar.bz2)
md5sums=('bf35262cc611de447147d01cbac33767')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    sh configure --prefix=/usr \
			--disable-static \
			--enable-vapigen

    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    make DESTDIR="${pkgdir}" install
}
